package org.example.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName
public class Score {
    private Integer id;

    @TableField("student_id")
    private Integer studentId;

    @TableField("course_id")
    private Integer courseId;

    @TableField("point")
    private Integer point;

    @TableField(exist = false)
    private String studentName;

    @TableField(exist = false)
    private String courseName;
}
